package com.zf.yichat.service;

import com.zf.yichat.model.LotteryPrize;
import com.zf.yichat.model.UserLotteryPrize;

import java.util.List;

public interface LotteryService {

    /**
     * 奖品列表
     * @return
     */
    List<LotteryPrize> queryPrizeList();


    /**
     * 新增用户抽奖记录
     * @param userId
     * @param prize
     */
    void addUserLotteryPrize(Long userId, LotteryPrize prize);

    /**
     * 查询用户抽奖记录
     * @param userId
     * @return
     */
    List<UserLotteryPrize> queryLotteryList(Long userId);
}
